

<div class="pageContent">

    <form action="__URL__/insert/navTabId/{:CONTROLLER_NAME}" id="j_custom_form" class="pageForm form-validate" method="post" callback="dialogAjaxDone" noEnter>
      
        <div class="pageFormContent form-horizontal" layouth="60">
            <div class="form-group">
                <label for="j_name" class="col-sm-2 control-label">分类名：</label>
               
                <input type="text" size="30" class="form-control validate[required,minSize[3]] required"  name="name" id="j_name" value=""  >
               
            </div>
            <div class="form-group">
                <label for="j_pid" class="control-label col-sm-2 ">上级分类：</label>
                
                 <select name="pid"  data-container="body"  id="j_pid" class="selectpicker show-tick" data-style="btn-default btn-sm" data-width="auto">
                               <option value="0">无</option>
                               <volist name="list" id="vo">
                                 <option value="{$vo.id}">{$vo.name}</option>
                                
                                </volist>
                 </select>
                 
            </div>
            <div class="form-group">
                <label for="j_status" class="control-label col-sm-2 ">状态：</label>
              
               <select name="status"  data-container="body"  id="j_status" class="selectpicker show-tick validate[required]" data-style="btn-default btn-sm" data-width="auto">
                               
                                 <option value="1">启用</option>
                                <option value="0">禁用</option>
                 </select>
                
            </div>
                 <div class="form-group">
                <label for="j_enable" class="control-label col-sm-2">会员权限：</label>
               <select name="enable"  data-container="body"  id="j_enable" class="selectpicker show-tick" data-style="btn-default btn-sm" data-width="auto">
                               
                                 <option  value="1">会员可发布</option>
                                <option  value="0">会员禁止发布</option>
                 </select>
            </div>
            <div class="form-group">
                <label for="j_type" class="control-label col-sm-2">类型：</label>
               <select name="type"  data-container="body"  id="j_type" class="selectpicker show-tick" data-style="btn-default btn-sm" data-width="auto">
                              
						<option value="{:S('catetype')}">{:get_cate_type(S('catetype'))}</option>
					
                 </select>
                 
            </div>
            
		</div>
		<div class="formBar">
            <ul>
                <li><button type="submit" class="btn btn-primary btn-sm">保存</button></li>
                <li><button type="button" class="btn btn-close btn-sm">取消</button></li>
            </ul>
		</div>
    </form>
</div>
